package cn.woowc.through.config;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;


/**
 * @version V1.0.0
 * @ClassName: {@link ThroughProperties}
 * @Description: NgRockProperties
 * @author: Lanzhou
 * @date: 2021/4/30 14:40
 * @Copyright:2020 All rights reserved.
 */
@Setter
@Getter
@ToString
@ConfigurationProperties(prefix = "through")
public class ThroughProperties {

    /**
     * 是否启用Socket开关
     */
    private boolean enable;

    /**
     * ngrock 配置: 目前有ding|nat两个选项
     */
    private String adopt;

    /**
     * 配置nat时需要配置此项
     */
    private String authToken;

    /**
     * 配置ding时需要配置此项
     */
    private String subDomain;

    /**
     * 是否启用Socket开关
     */
    private boolean showAddr;

}
